package domain.server;

import java.net.InetAddress;

/**
 *
 * @author Laurent Albessart
 * @version 2-jan-2012
 */
public class Player {
    
    //General information
    private InetAddress ip;
    private int port;
    
    //Game related information
    private int posX;
    private int posY;
    private int hp;

    public Player(InetAddress ip, int port) {
        this.ip = ip;
        this.port = port;
    }

    public InetAddress getIp() {
        return ip;
    }

    public void setIp(InetAddress ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }
    
}
